package com.totoro.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.totoro.dao.BaseHibernateDao;
import com.totoro.dao.ExcellentProjectDao;
import com.totoro.domain.ExcellentProject;
/*
 * 毕业设计和优秀论文关联service
 */
@Transactional
@Service
public class ExcellentProjectService extends BaseService<ExcellentProject, Integer>{

	private ExcellentProjectDao excellentProjectDao;
	
	@Autowired
	@Override
	public void setBaseDao(BaseHibernateDao<ExcellentProject, Integer> excellentProjectDao) {
		// TODO Auto-generated method stub
		this.baseDao = excellentProjectDao;
		this.excellentProjectDao = (ExcellentProjectDao) excellentProjectDao;
	}

}
